#pragma once

#include "image.h"
#include "tensor.h"


namespace uzu
{
    void rgb2gray(ImageU8& image, ImageU8& gray);
    void boxBlur(ImageU8& image, ImageU8& blurred, int boxsize);
    // calculate median for each 
    void medianBlur(ImageU8& image, ImageU8& blurred, int boxsize);

    void histogram(ImageU8& image, Tensor& hist);
    void histogramCpu(ImageU8& image, Tensor& hist);
    
    // affine transformation

}
